<?php slot('lang_menu') ?>
	<?php foreach( $langs as $index => $lang ):?>
		<?php if( $lang['lang'] == $currentNode['lang'] ):?>
			<?php slot('current_country') ?>
				<?php echo $lang['title'] ?>
			<?php end_slot() ?>
		<?php else:?>
			<li>
				<div class="lipp"><img src="/project_css_js/img/lipp_<?php echo $lang['lang'] ?>.png" width="18" height="11" alt=""/></div>
				<div class="country"><p><a href="<?php include_component('linker', 'articleLinkBuilder', array('node' => $lang ) ) ?>"><?php echo $lang['title'] ?></a></p></div>
				<div class="clear"></div>
			</li>
		<?php endif;?>
	<?php endforeach;?>
<?php end_slot() ?>

<?php if(trim(get_slot('lang_menu'))): ?>
<div class="langbox dropdown">
	<div class="lipp"><img src="/project_css_js/img/lipp.png" width="18" height="11" alt=""/></div>

	<div class="country"><p><a href="#"><?php include_slot('current_country') ?></a></p></div>
	<div class="larrow"><img src="/project_css_js/img/langarrow.png" width="7" height="4" alt=""/></div>
	<div class="menupunkt"><img src="/project_css_js/img/menupunkt.png" width="1" height="5" alt=""/></div>
	<div class="clear"></div>
	<div class="hlangbox hiddendrop">
		<div class="hlangboxin">
			<ul>
				<?php include_slot('lang_menu') ?>
			</ul>
		</div>
	</div>
</div>
<?php endif; ?>